home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: holt.arc.nasa.gov!kulkarni
- From: kulkarni@holt.arc.nasa.gov (Deepak Kulkarni)
- Subject: Translating C++ software to C
- Message-ID: <1996Mar18.173358.25938@ptolemy-ethernet.arc.nasa.gov>
- Sender: usenet@ptolemy-ethernet.arc.nasa.gov (usenet@ptolemy.arc.nasa.gov)
- Nntp-Posting-Host: holt.arc.nasa.gov
- Organization: NASA/ARC Computational Sciences Division
- Date: Mon, 18 Mar 1996 17:33:58 GMT
-
-
- --
-
-
- Hi,
- I need to deliver software that has been written in C++ as
- C software. I translated the software using a cfront
- based compiler (centerline compiler) to create .c
- files. These compile fine as ANSI C files but at link time I have an error message
- regarding functions in <iostream.h>. I use <iostream.h> <fstream.h>
- in the software. Do I need need to link it with a particular library
- at link time? What is the best way to translate C++ software to ANSI C
- software that can compile and run under a C compiler?
-
- Thanks in advance,
- Deepak
-
- kulkarni@ptolemy.arc.nasa.gov
- --------------------------------------------------------------------------
- Deepak Kulkarni MS 269-2, NASA Ames Research Center,Moffett Field, CA 94035
- Phone: 415-604-4869
-
-
-